<?php /* Smarty version Smarty-3.1.12, created on 2013-06-03 22:57:35
         compiled from "D:\redwazi2\sys-admin\template\goods\category_add.htm" */ ?>
<?php /*%%SmartyHeaderCode:972051acaedf5e5ee2-77512121%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '6e5add590e3203cc80e50f87277fe3f4e807106e' => 
    array (
      0 => 'D:\\redwazi2\\sys-admin\\template\\goods\\category_add.htm',
      1 => 1370271150,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '972051acaedf5e5ee2-77512121',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'parent' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_51acaedf64cfc2_32762107',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51acaedf64cfc2_32762107')) {function content_51acaedf64cfc2_32762107($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Yooes管理中心</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/sys-admin/css/general.css" rel="stylesheet" type="text/css">
<link href="/sys-admin/css/main.css" rel="stylesheet" type="text/css">
<script src="/sys-admin/js/jquery.js" type="text/javascript"></script>
<script src="/sys-admin/js/cn_message.js" type="text/javascript"></script>
<script src="/sys-admin/js/validate.js" type="text/javascript"></script>
</head>
<body>
<h1><span class="action-span1">商品分类添加</span></h1>
<div class="list-div">
<form action="/sys-admin/action/goods/category.php" method="post">
<input type="hidden" name="met" value="add"/>
<input type="hidden" name="pid" value="<?php echo $_smarty_tpl->tpl_vars['parent']->value['cat_id'];?>
"/>
<table>
 <tr>
    <td class="label"><span class="require-field">*</span>名称</td>
    <td><input type="text" name="name" maxlength="40" value="" size="20" vtype="required" vname="cate_add_name"/><span id="cate_add_name_m"></span></td>
 </tr>
 <tr>
    <td class="label">父分类</td>
    <td><?php if (count($_smarty_tpl->tpl_vars['parent']->value)==0){?>无<?php }else{ ?><?php echo $_smarty_tpl->tpl_vars['parent']->value['cat_name'];?>
<?php }?></td>
 </tr>
 <tr>
    <td class="label">单位</td>
    <td><input type="text" name="unit" maxlength="30" value="" size="20"/></td>
 </tr>
 <tr>
    <td class="label">排序</td>
    <td><input type="text" name="sortorder" maxlength="4" value="1" size="6"  vtype="not-required-n" vname="sort_order"/><span id="sort_order_m"></span></td>
  </tr>
 <tr>
    <td class="label"></td>
    <td>
      <input type="submit"  name="Submit"   value="保存 " class="button" onclick="return checkForm();"/>&nbsp;&nbsp;&nbsp;
   </td>
  </tr>
  </table>
 </form>
</div>
</body></html><?php }} ?>